package mapper;

import entity.PmsProduct;
import entity.PmsProductWithBLOBs;
import entity.Result;

public interface PmsProductMapper {
    int deleteByPrimaryKey(Integer product_id);

    int insert(PmsProductWithBLOBs record);

    int insertSelective(PmsProductWithBLOBs record);

    PmsProductWithBLOBs selectByPrimaryKey(Integer product_id);

    int updateByPrimaryKeySelective(PmsProductWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(PmsProductWithBLOBs record);

    int updateByPrimaryKey(PmsProduct record);

    int selectProductNumByBrandId(Integer brand_id);
}